package br.com.stourados.perfil.client;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.DecoratedTabPanel;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.ScrollPanel;
import com.google.gwt.user.client.ui.HasVerticalAlignment;

public class WidgetGrupoEstouratar extends Composite {

	public WidgetGrupoEstouratar() {
		
		DecoratedTabPanel decoratedTabPanel = new DecoratedTabPanel();
		initWidget(decoratedTabPanel);
		decoratedTabPanel.setSize("320px", "286px");
		
		ScrollPanel scrollPanel_2 = new ScrollPanel();
		scrollPanel_2.setStyleName("vertical");
		decoratedTabPanel.add(scrollPanel_2, "Galera", false);
		scrollPanel_2.setSize("325px", "295px");
		
		VerticalPanel verticalPanel = new VerticalPanel();
		verticalPanel.setStyleName("vertical");
		scrollPanel_2.setWidget(verticalPanel);
		verticalPanel.setSize("324px", "286px");
		
		HorizontalPanel horizontalPanel = new HorizontalPanel();
		horizontalPanel.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE);
		verticalPanel.add(horizontalPanel);
		horizontalPanel.setSize("277px", "21px");
		
		TextBox textBox = new TextBox();
		horizontalPanel.add(textBox);
		textBox.setWidth("185px");
		
		Button button = new Button("Procurar");
		horizontalPanel.add(button);
		button.setSize("64px", "25px");
		
		Button btnTodos = new Button("Todos");
		horizontalPanel.add(btnTodos);
		btnTodos.setSize("64px", "25px");
		
		FlexTable flexTable = new FlexTable();
		flexTable.setBorderWidth(1);
		verticalPanel.add(flexTable);
		flexTable.setSize("304px", "");
		
		VerticalPanel verticalPanel_1 = new VerticalPanel();
		flexTable.setWidget(0, 0, verticalPanel_1);
		
		Image image = new Image("img/Koala.jpg");
		verticalPanel_1.add(image);
		image.setSize("85px", "102px");
		
		Label label = new Label("New label");
		verticalPanel_1.add(label);
		
		VerticalPanel verticalPanel_2 = new VerticalPanel();
		flexTable.setWidget(0, 1, verticalPanel_2);
		
		Image image_1 = new Image((String) null);
		verticalPanel_2.add(image_1);
		image_1.setSize("85px", "102px");
		
		Label label_1 = new Label("New label");
		verticalPanel_2.add(label_1);
		
		VerticalPanel verticalPanel_3 = new VerticalPanel();
		flexTable.setWidget(0, 2, verticalPanel_3);
		
		Image image_2 = new Image((String) null);
		verticalPanel_3.add(image_2);
		image_2.setSize("85px", "102px");
		
		Label label_2 = new Label("New label");
		verticalPanel_3.add(label_2);
		
		VerticalPanel verticalPanel_4 = new VerticalPanel();
		flexTable.setWidget(1, 0, verticalPanel_4);
		
		Image image_3 = new Image((String) null);
		verticalPanel_4.add(image_3);
		image_3.setSize("85px", "102px");
		
		Label label_3 = new Label("New label");
		verticalPanel_4.add(label_3);
		
		VerticalPanel verticalPanel_5 = new VerticalPanel();
		flexTable.setWidget(1, 1, verticalPanel_5);
		
		Image image_4 = new Image((String) null);
		verticalPanel_5.add(image_4);
		image_4.setSize("85px", "102px");
		
		Label label_4 = new Label("New label");
		verticalPanel_5.add(label_4);
		
		VerticalPanel verticalPanel_6 = new VerticalPanel();
		flexTable.setWidget(1, 2, verticalPanel_6);
		
		Image image_5 = new Image((String) null);
		verticalPanel_6.add(image_5);
		image_5.setSize("85px", "102px");
		
		Label label_5 = new Label("New label");
		verticalPanel_6.add(label_5);
		
		ScrollPanel scrollPanel = new ScrollPanel();
		scrollPanel.setStyleName("vertical");
		decoratedTabPanel.add(scrollPanel, "Stourometro", false);
		scrollPanel.setSize("325px", "295px");
		
		VerticalPanel verticalPanel_7 = new VerticalPanel();
		verticalPanel_7.setStyleName("vertical");
		scrollPanel.setWidget(verticalPanel_7);
		verticalPanel_7.setSize("259px", "286px");
		verticalPanel_7.add(new wdgtestourometar());
		verticalPanel_7.add(new wdgtestourometar());
		verticalPanel_7.add(new wdgtestourometar());
		verticalPanel_7.add(new wdgtestourometar());
		verticalPanel_7.add(new wdgtestourometar());
		verticalPanel_7.add(new wdgtestourometar());
		
		ScrollPanel scrollPanel_1 = new ScrollPanel();
		scrollPanel_1.setStyleName("vertical");
		decoratedTabPanel.add(scrollPanel_1, "Nivers", false);
		scrollPanel_1.setSize("325px", "295px");
		
		VerticalPanel verticalPanel_8 = new VerticalPanel();
		verticalPanel_8.setStyleName("vertical");
		scrollPanel_1.setWidget(verticalPanel_8);
		verticalPanel_8.setSize("259px", "286px");
		
		decoratedTabPanel.selectTab(0);
	}

}
